import React from "react"
import { Button } from 'antd';
const PropsPage = (props) => {
    const clickFun = () => {
        console.log(props)
        props.history.push("/router")
    }
    return (
        <div>
            <Button onClick={clickFun} type="primary">跳转首页</Button>
        </div>

    )
}
export default PropsPage 